# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'rGuiImportData.ui'
#
# Created: Mon Oct 24 13:37:07 2011
#      by: PyQt4 UI code generator 4.7.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_ImportDataWidget(object):
    def setupUi(self, ImportDataWidget):
        ImportDataWidget.setObjectName("ImportDataWidget")
        ImportDataWidget.resize(305, 242)
        ImportDataWidget.setToolTip("")
        self.verticalLayout = QtGui.QVBoxLayout(ImportDataWidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tabs = QtGui.QStackedWidget(ImportDataWidget)
        self.tabs.setObjectName("tabs")
        self.page = QtGui.QWidget()
        self.page.setObjectName("page")
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.page)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.lab1 = QtGui.QLabel(self.page)
        self.lab1.setObjectName("lab1")
        self.horizontalLayout_2.addWidget(self.lab1)
        self.path = QtGui.QLineEdit(self.page)
        self.path.setObjectName("path")
        self.horizontalLayout_2.addWidget(self.path)
        self.browseButton = QtGui.QPushButton(self.page)
        self.browseButton.setObjectName("browseButton")
        self.horizontalLayout_2.addWidget(self.browseButton)
        self.verticalLayout_5.addLayout(self.horizontalLayout_2)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.cancelButton = QtGui.QPushButton(self.page)
        self.cancelButton.setObjectName("cancelButton")
        self.horizontalLayout.addWidget(self.cancelButton)
        self.nextButton = QtGui.QPushButton(self.page)
        self.nextButton.setObjectName("nextButton")
        self.horizontalLayout.addWidget(self.nextButton)
        self.verticalLayout_5.addLayout(self.horizontalLayout)
        self.tabs.addWidget(self.page)
        self.page_2 = QtGui.QWidget()
        self.page_2.setObjectName("page_2")
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.page_2)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.lab2 = QtGui.QLabel(self.page_2)
        self.lab2.setObjectName("lab2")
        self.horizontalLayout_3.addWidget(self.lab2)
        self.variableName = QtGui.QLineEdit(self.page_2)
        self.variableName.setObjectName("variableName")
        self.horizontalLayout_3.addWidget(self.variableName)
        self.verticalLayout_6.addLayout(self.horizontalLayout_3)
        self.variableParameters = QtGui.QGroupBox(self.page_2)
        self.variableParameters.setFlat(False)
        self.variableParameters.setCheckable(False)
        self.variableParameters.setObjectName("variableParameters")
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.variableParameters)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.verticalCheck = QtGui.QCheckBox(self.variableParameters)
        self.verticalCheck.setObjectName("verticalCheck")
        self.horizontalLayout_5.addWidget(self.verticalCheck)
        self.verticalParameter = QtGui.QComboBox(self.variableParameters)
        self.verticalParameter.setEditable(True)
        self.verticalParameter.setObjectName("verticalParameter")
        self.horizontalLayout_5.addWidget(self.verticalParameter)
        self.verticalLayout_4.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.horizontalCheck = QtGui.QCheckBox(self.variableParameters)
        self.horizontalCheck.setObjectName("horizontalCheck")
        self.horizontalLayout_4.addWidget(self.horizontalCheck)
        self.horizontalParameter = QtGui.QComboBox(self.variableParameters)
        self.horizontalParameter.setEditable(True)
        self.horizontalParameter.setObjectName("horizontalParameter")
        self.horizontalLayout_4.addWidget(self.horizontalParameter)
        self.verticalLayout_4.addLayout(self.horizontalLayout_4)
        self.verticalLayout_6.addWidget(self.variableParameters)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.cancelButton2 = QtGui.QPushButton(self.page_2)
        self.cancelButton2.setObjectName("cancelButton2")
        self.horizontalLayout_6.addWidget(self.cancelButton2)
        self.previousButton2 = QtGui.QPushButton(self.page_2)
        self.previousButton2.setObjectName("previousButton2")
        self.horizontalLayout_6.addWidget(self.previousButton2)
        self.importButton = QtGui.QPushButton(self.page_2)
        self.importButton.setObjectName("importButton")
        self.horizontalLayout_6.addWidget(self.importButton)
        self.verticalLayout_6.addLayout(self.horizontalLayout_6)
        self.tabs.addWidget(self.page_2)
        self.verticalLayout.addWidget(self.tabs)

        self.retranslateUi(ImportDataWidget)
        self.tabs.setCurrentIndex(0)
        QtCore.QObject.connect(self.nextButton, QtCore.SIGNAL("clicked()"), ImportDataWidget.nextTab)
        QtCore.QObject.connect(self.cancelButton, QtCore.SIGNAL("clicked()"), ImportDataWidget.closeWindow)
        QtCore.QObject.connect(self.browseButton, QtCore.SIGNAL("clicked()"), ImportDataWidget.browseFile)
        QtCore.QObject.connect(self.importButton, QtCore.SIGNAL("clicked()"), ImportDataWidget.importData)
        QtCore.QObject.connect(self.previousButton2, QtCore.SIGNAL("clicked()"), ImportDataWidget.prevTab)
        QtCore.QObject.connect(self.cancelButton2, QtCore.SIGNAL("clicked()"), ImportDataWidget.closeWindow)
        QtCore.QMetaObject.connectSlotsByName(ImportDataWidget)

    def retranslateUi(self, ImportDataWidget):
        ImportDataWidget.setWindowTitle(QtGui.QApplication.translate("ImportDataWidget", "Import Data", None, QtGui.QApplication.UnicodeUTF8))
        ImportDataWidget.setWhatsThis(QtGui.QApplication.translate("ImportDataWidget", "Import Data Window", None, QtGui.QApplication.UnicodeUTF8))
        self.lab1.setText(QtGui.QApplication.translate("ImportDataWidget", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.browseButton.setText(QtGui.QApplication.translate("ImportDataWidget", "Browse", None, QtGui.QApplication.UnicodeUTF8))
        self.cancelButton.setText(QtGui.QApplication.translate("ImportDataWidget", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
        self.nextButton.setText(QtGui.QApplication.translate("ImportDataWidget", "Next", None, QtGui.QApplication.UnicodeUTF8))
        self.lab2.setText(QtGui.QApplication.translate("ImportDataWidget", "Variable Name", None, QtGui.QApplication.UnicodeUTF8))
        self.variableParameters.setTitle(QtGui.QApplication.translate("ImportDataWidget", "Variable\'s parameters names", None, QtGui.QApplication.UnicodeUTF8))
        self.verticalCheck.setText(QtGui.QApplication.translate("ImportDataWidget", "Vertical", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalCheck.setText(QtGui.QApplication.translate("ImportDataWidget", "Horizontal", None, QtGui.QApplication.UnicodeUTF8))
        self.cancelButton2.setText(QtGui.QApplication.translate("ImportDataWidget", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
        self.previousButton2.setText(QtGui.QApplication.translate("ImportDataWidget", "Previous", None, QtGui.QApplication.UnicodeUTF8))
        self.importButton.setText(QtGui.QApplication.translate("ImportDataWidget", "Import", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    ImportDataWidget = QtGui.QDialog()
    ui = Ui_ImportDataWidget()
    ui.setupUi(ImportDataWidget)
    ImportDataWidget.show()
    sys.exit(app.exec_())

